package info.motteke.qjdbc.operation.select.impl;

import java.util.List;
import info.motteke.qjdbc.operation.select.LimitView;
import info.motteke.qjdbc.operation.select.LockView;

public class LimitViewImpl<E> extends AbstractWrapper<E> implements LimitView<E> {

    protected LimitViewImpl(SelectImpl<E> parent) {
        super(parent);
    }

    @Override
    public LockView<E> forReadOnly() {
        return parent.forReadOnlyImpl();
    }

    @Override
    public LockView<E> forUpdate() {
        return parent.forUpdateImpl();
    }

    @Override
    public List<E> asList() {
        return parent.asListImpl();
    }

    @Override
    public E asSingle() {
        return parent.asSingleImpl();
    }

    @Override
    public E asSingleOrNull() {
        return parent.asSingleOrNullImpl();
    }

}
